package com.topisv.tms.repository.stock.outstorage;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;

import com.topisv.tms.entity.stock.oustorage.OutstorageSendTask;

/**
 * 出库发货任务_dao
 * @author ch
 *
 */
public abstract interface OutstorageSendTaskDao extends PagingAndSortingRepository<OutstorageSendTask, Long>, JpaSpecificationExecutor<OutstorageSendTask>
{

	@Query("select t from  OutstorageSendTask t where t.taskCode=?")
	OutstorageSendTask loadByTaskCode(String taskCode);

}